package org.jeecg.modules.workservice.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.workservice.entity.WorkAffair;
import org.jeecg.modules.workservice.mapper.IWorkAffairMapper;
import org.jeecg.modules.workservice.service.IWorkAffairService;

import org.jeecg.modules.workservice.vo.WorkAffairVo;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 事务型工单
 * @Author: jeecg-boot
 * @Date:   2021-08-25
 * @Version: V1.0
 */
@Service
public class WorkAffairServiceImpl extends ServiceImpl<IWorkAffairMapper, WorkAffair> implements IWorkAffairService {
    @Resource
    private IWorkAffairMapper iWorkAffairMapper;
    /**
     * 事务型工单查询
     *
     * @param workAffairVo
     * @param page
     * @return
     */
    @Override
    public IPage<WorkAffairVo> list(WorkAffairVo workAffairVo, Page page) {
        return iWorkAffairMapper.list(workAffairVo,page);
    }
}
